package com.itheima.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.HttpRequestMethodNotSupportedException;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.spring.web.plugins.Docket;

import java.util.Date;


@Controller
@RequestMapping("/quick")
public class QuickController {





    //@RequestMapping(value = {"/show","/showxxx","/showyyy"},method = RequestMethod.GET)
    //@PostMapping("/show")

    //http://localhost:8080/appName/quick/show



    @GetMapping("/show")
    public String show() throws HttpRequestMethodNotSupportedException {
        System.out.println("show running....");
        return "redirect:/index.jsp";
    }





}
